package org.jsola.hr.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.dto.BaseDTO;

import javax.validation.constraints.NotBlank;

@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "验证验证码")
@Data
public class CertificateSendCodeDTO extends BaseDTO {
    private static final long serialVersionUID = 1L;

    /**
     * 新增的子公司分管城市关系表
     */
    @ApiModelProperty(notes = "手机号")
    @NotBlank(message = "手机号不能为空")
    private String phone;

    @ApiModelProperty(notes = "场景")
    @NotBlank(message = "场景不能为空")
    private String scene;

    @ApiModelProperty(notes = "验证码")
    @NotBlank(message = "验证码不能为空")
    private String code;
}
